F0.SetProps(Position="poMainFormCenter", Width=770, Height=340, Caption="Calcul automatique des champs", OnResize=Resize)
F0.Constraints.MinWidth = 700
F0.Constraints.MinHeight = 340
F0.Font.Name = "Tahoma"
Grid = CreateComponent("TDrawGrid", F0)
Grid.SetProps(Parent=F0, Top=30, Left=30, Width=710, Height=243, Anchors=ak+["akTop", "akRight"], ColCount=6, FixedCols=0, OnDrawCell=draw, Options = ["goFixedHorzLine", "goVertLine", "goDrawFocusSelected", "goRowSelect", "goThumbTracking"], Hint="Double-cliquez sur une ligne pour l'activer ou la dΘsactiver", ShowHint=1, OnDblClick=Enable)